package com.zjipc.mpjdemo.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.google.gson.Gson;
import com.zjipc.mpjdemo.domain.Address;
import com.zjipc.mpjdemo.domain.User;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors
public class UserVO extends User {
    private Address address;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
